<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>
      <th>员工号</th>
        <th>员工状态</th>
        <th>员工姓名</th>
        <th>性别</th>
        <th>身份证号码</th>
        <th>身份证地址</th>
        <th>户口所在地</th>
        <th>民族</th>
        <th>最高学历</th>
        <th>毕业院校</th>
        <th>专业</th>
        <th>毕业日期</th>
        <th>本人联系电话</th>
        <th>家庭地址</th>
        <th>邮寄地址</th>
        <th>紧急联系人</th>
        <th>紧急联系人电话</th>
        <th>紧急联系人地址</th>
        <th>工作所在地</th>
        <th>合同起始日期</th>
        <th>合同结束日期</th>
        <th>入职日期</th>
        <th>转正日期</th>
        <th>操作</th>
    </tr>
    </thead>
<tbody>
<#if hrEmployeesTable.rows??>
<#list hrEmployeesTable.rows as hrEmployee>
    <tr>
        <td><input name="ids" type="checkbox" value="${hrEmployee.id?c}"></td>
           <td>${hrEmployee.employeeId!''}</td>

          <td><@display list=employeeTypeList value="${hrEmployee.employeeState!''}"/> </td>
            <td>${hrEmployee.employeeName!''}</td>
            <td><@display list=sexTypeList value="${hrEmployee.sex!''}"/> </td>
            <td>${hrEmployee.card!''}</td>
            <td>${hrEmployee.address!''}</td>
            <td>${hrEmployee.residenceAddress!''}</td>
            <td>${hrEmployee.national!''}</td>
            <td>${hrEmployee.record!''}</td>
            <td>${hrEmployee.school!''}</td>
            <td>${hrEmployee.professional!''}</td>
            <td>${hrEmployee.graduation!''}</td>
            <td>${hrEmployee.phone!''}</td>
            <td>${hrEmployee.homeAddress!''}</td>
            <td>${hrEmployee.mailAddress!''}</td>
            <td>${hrEmployee.contact!''}</td>
            <td>${hrEmployee.contactPhone!''}</td>
            <td>${hrEmployee.contactAddress!''}</td>
            <td>${hrEmployee.workLocation!''}</td>
            <td>${hrEmployee.contractStart!''}</td>
            <td>${hrEmployee.contractEnd!''}</td>
        <td>${hrEmployee.spareA!''}</td>
        <td>${hrEmployee.spareB!''}</td>
       <td>

            <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${hrEmployee.id?c});" title="编辑"><i class="fa fa-edit"></i></a>
           <a class="btn btn-orange btn-radio nopadding" onclick="return popView('${hrEmployee.employeeId!''}');"
              title="详情"><i class="fa fa-file-text"></i></a>  </tr>
</#list>
</#if>
    </tbody>
</table>
<#if hrEmployeesTable??>
<@page table=hrEmployeesTable formId="search_hrEmployee_table"/>
</#if>